package cn.hpclub.server.model;

import java.util.List;

import com.jfinal.ext.plugin.tablebind.TableBind;
import com.jfinal.plugin.activerecord.Model;

/**
 * 实体类 - 管理员角色
 * 
 */
@TableBind(tableName = "org_location")
public class OrgLocation extends Model<OrgLocation>{

    private static final long       serialVersionUID = 626637562061751242L;
    public static final OrgLocation dao              = new OrgLocation();

    public List<OrgLocation> getAll(){
        String sql = "select * from org_location t order by t.id asc ";
        List<OrgLocation> list = dao.find(sql);
        return list;
    }
}
